package com.rzx.mybackend.mapper;

import com.github.pagehelper.Page;
import com.rzx.mybackend.common.PageResult;
import com.rzx.mybackend.dto.BuyGamePageDTO;
import com.rzx.mybackend.entity.BuyGames;
import com.rzx.mybackend.vo.BuyGamesVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * BuyGameMapper
 *
 * @author renzhexian
 * @date 2025/7/22
 */
@Mapper
public interface BuyGameMapper {

    /*
    插入购买游戏记录
     */
    void insert(BuyGames buyGames);

    /*
    分页查询购买游戏列表
     */
    Page<BuyGamesVO> page(Long userId);
}
